package com.yq.admin.vo;

import org.springframework.web.multipart.MultipartFile;

import java.math.BigDecimal;

/**
 * Created by zhouyanqun on 2016/8/12.
 */
public class ProductVO extends BaseAdminVO {
    private Long productId;
    private String productName;
    private String productTitle;
    private BigDecimal price;
    /**
     * 主图的路径
     * */
    private String primaryImageUrl;
    /**
     * 主图，通过上传得到
     * */
    private MultipartFile primaryImage;

    public Long getProductId() {
        return productId;
    }

    public void setProductId(Long productId) {
        this.productId = productId;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public String getProductTitle() {
        return productTitle;
    }

    public void setProductTitle(String productTitle) {
        this.productTitle = productTitle;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public String getPrimaryImageUrl() {
        return primaryImageUrl;
    }

    public void setPrimaryImageUrl(String primaryImageUrl) {
        this.primaryImageUrl = primaryImageUrl;
    }

    public MultipartFile getPrimaryImage() {
        return primaryImage;
    }

    public void setPrimaryImage(MultipartFile primaryImage) {
        this.primaryImage = primaryImage;
    }
}
